cap locking machine